package com.eshop.model;

import java.util.List;
import java.util.Map;

public class CategoryDetail {
    private int cate_id;
    private String cate_name;
    private String cate_desc;
    private List<Map<String,String>> childList;
    private List<Goods> goodsList;

    public CategoryDetail() {
    }

    public CategoryDetail(int cate_id, String cate_name, String cate_desc, List<Map<String, String>> childList, List<Goods> goodsList) {
        this.cate_id = cate_id;
        this.cate_name = cate_name;
        this.cate_desc = cate_desc;
        this.childList = childList;
        this.goodsList = goodsList;
    }

    public int getCate_id() {
        return cate_id;
    }

    public String getCate_name() {
        return cate_name;
    }

    public String getCate_desc() {
        return cate_desc;
    }

    public List<Map<String, String>> getChildList() {
        return childList;
    }

    public List<Goods> getGoodsList() {
        return goodsList;
    }

    public void setCate_id(int cate_id) {
        this.cate_id = cate_id;
    }

    public void setCate_name(String cate_name) {
        this.cate_name = cate_name;
    }

    public void setCate_desc(String cate_desc) {
        this.cate_desc = cate_desc;
    }

    public void setChildList(List<Map<String, String>> childList) {
        this.childList = childList;
    }

    public void setGoodsList(List<Goods> goodsList) {
        this.goodsList = goodsList;
    }

    @Override
    public String toString() {
        return "CategoryDetail{" +
                "cate_id=" + cate_id +
                ", cate_name='" + cate_name + '\'' +
                ", cate_desc='" + cate_desc + '\'' +
                ", childList=" + childList +
                ", goodsList=" + goodsList +
                '}';
    }
}
